package de.uni.muenster.idw2.dialogs;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

public class ImageDialog extends Dialog{

	private final View img;

	public ImageDialog(Context context, View img) {
		super(context);
		this.img = img;
		requestWindowFeature(Window.FEATURE_NO_TITLE);
	}
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);	
		setContentView(img);
	}

}